package com.qifn.blog.Dao;

import com.qifn.blog.Model.Blog;
import com.qifn.blog.Model.Type;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TypeDao {
    List<Type> queryAdminIndexAllType();
    List<Type> queryAdminAllType();
    Integer insertType(@Param("type") Type type);
    Integer deleteTypeById(Integer typeId);
}
